﻿using Ease.TestEaseNode.Runtime;
using Sirenix.OdinInspector.Editor;
using UnityEditor;
using UnityEngine;

namespace Ease.TestEaseNode.Editor
{
    //在编辑器里绘制FlowChart的Inspector
    [CustomEditor(typeof(TestDataManager))]
    public class TestDataManagerEditor : OdinEditor
    {
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();
            //隐藏不需要显示的组件
            if (GUILayout.Button("Editor"))
            {
                TestMenu.ShowTest();
            }
        }
    }
}